﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Expect.Report.Word
{
    public class TextRun
    {
        public char Token { get; set; }

        public bool Underline { get; set; }

        public bool Bold { get; set; }

        public bool Italic { get; set; }

        public string Text { get; set; }

        public TextRun GetClone(string text)
        {
            var res = new TextRun();
            res.Token = this.Token;
            res.Underline = this.Underline;
            res.Bold = this.Bold;
            res.Italic = this.Italic;
            res.Text = text;

            return res;
        }
    }
}
